///////////////////////////////////////////////////////////
//  BackTemplateCommand.h
//  Implementation of the Class BackTemplateCommand
//  Created on:      21-Sep-2013 12:08:47 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_917FDC8E_0E4A_47c8_8847_67A431F44454__INCLUDED_)
#define EA_917FDC8E_0E4A_47c8_8847_67A431F44454__INCLUDED_

#include "ICommand.h"
#include "CCreateTemplateView.h"
#include "CTemplateView.h"

namespace UI
{
  namespace CMD
  {
    class BackTemplateCommand : public ICommand
    {

    public:
      BackTemplateCommand(CCreateTemplateView* createTemplate, CTemplateView* _template);
      virtual ~BackTemplateCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CTemplateView* m_templateView;

    };
  }
}


#endif // !defined(EA_917FDC8E_0E4A_47c8_8847_67A431F44454__INCLUDED_)
